package com.maple.common.exception;

/**
 * <p></p>
 *
 * @author maple
 */
public class BusinessException extends AbstractException {

    public BusinessException(int code, String message, Throwable e) {
        super(code, message, e);
    }

    public BusinessException(String message, Throwable e) {
        this(2000, message, e);
    }

    public BusinessException(int code, String message) {
        this(code, message, null);
    }

    public BusinessException(String message) {
        this(2000, message, null);
    }
}